package com.aq.demo1;

public class TestThread3 implements Runnable {

    @Override
    public void run(){
        for(int i = 0; i < 200; i++) {
            System.out.println("我在看代码=====");
        }
    }

    public static void main(String[] args) {

        TestThread1 testThread3 = new TestThread1();

        // Thread thread = new Thread(testThread3);
        // thread.start();
        // 同等于
        new Thread(testThread3).start();




        for(int i = 0; i < 200; i++) {
            System.out.println("我在学习多线程====");

        }
        }
}
